package com.whu.exp1jsp.pojo;

public class UserSt {
    private long userId;
    private String userName;
    private String userAccount;
    private String userPassword;
    private int userBanned;
    private int isManager;

    // 构造函数、getters和setters
    public UserSt(long userId, String userName, String userAccount, String userPassword, int userBanned, int isManager) {
        this.userId = userId;
        this.userName = userName;
        this.userAccount = userAccount;
        this.userPassword = userPassword;
        this.userBanned = userBanned;
        this.isManager = isManager;
    }

    // Getters and Setters
    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public int getUserBanned() {
        return userBanned;
    }

    public void setUserBanned(int userBanned) {
        this.userBanned = userBanned;
    }

    public int getIsManager() {
        return isManager;
    }

    public void setIsManager(int isManager) {
        this.isManager = isManager;
    }

    public String toString() {
        return "UserSt{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", userAccount='" + userAccount + '\'' +
                ", userPassword='" + userPassword + '\'' +
                ", userBanned=" + userBanned +
                ", isManager=" + isManager +
                '}';
    }

}
